package au.com.cgu.RescueU;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Claim implements java.io.Serializable {
	private static final long serialVersionUID = -876607535089050650L;
	private String _policyHolder = null;
	private String _policyNumber = null;
	
	private Vehicle _vehicle = null;
	private String _description = null;
	private Date _incidentTime = null;
	private Boolean _insuredAtFault = null;
	private ThirdParty _thirdParty = null;
	private List<Photo> _photos = new ArrayList<Photo>();
	private Location _lossLocation = null;
	private String _claimNumber = null;
	
	public Claim() {
		super();
	}
	
	public Claim(String inPolicyHolder, String inPolicyNumber) {
		super();
		this._policyHolder = inPolicyHolder;
		this._policyNumber = inPolicyNumber;
	}

	public String getPolicyHolder() {
		return _policyHolder;
	}

	public void setPolicyHolder(String policyHolder) {
		this._policyHolder = policyHolder;
	}

	public String getPolicyNumber() {
		return _policyNumber;
	}

	public void setPolicyNumber(String policyNumber) {
		_policyNumber = policyNumber;
	}

	public Vehicle getVehicle() {
		return _vehicle;
	}

	public void setVehicle(Vehicle vehicle) {
		_vehicle = vehicle;
	}

	public String getDescription() {
		return _description;
	}

	public void setDescription(String description) {
		_description = description;
	}

	public Date getIncidentTime() {
		return _incidentTime;
	}

	public void setIncidentTime(Date incidentTime) {
		_incidentTime = incidentTime;
	}

	public ThirdParty getThirdParty() {
		return _thirdParty;
	}

	public void setThirdParty(ThirdParty thirdParty) {
		_thirdParty = thirdParty;
	}

	public List<Photo> getPhotos() {
		return _photos;
	}

	public void setPhotos(List<Photo> photos) {
		_photos = photos;
	}
	
	public void addPhoto(Photo photo) {
		_photos.add(photo);
	}
	
	public Location getLossLocation() {
		return _lossLocation;
	}

	public void setLossLocation(Location lossLocation) {
		_lossLocation = lossLocation;
	}

	public String getClaimNumber() {
		return _claimNumber;
	}

	public void setClaimNumber(String claimNumber) {
		_claimNumber = claimNumber;
	}
	
	public Boolean getInsuredAtFault() {
		return _insuredAtFault;
	}

	public void setInsuredAtFault(Boolean _insuredAtFault) {
		this._insuredAtFault = _insuredAtFault;
	}

}
